package com.wen.edu.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wen.edu.entity.EduTeacher;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 讲师 服务类
 * </p>
 *
 * @author wen
 * @since 2021-05-26
 */
public interface EduTeacherService extends IService<EduTeacher> {
    /**
     * 查询前台显示的名师列表
     *
     * @return list of required
     */
    List<EduTeacher> selectFamousTeacher();

    /**
     * 分页查询前台讲师数据
     *
     * @param pageTeacher 前台讲师分页查询结果
     * @return resultEntity
     */
    Map<String, Object> pageFrontTeacher(Page<EduTeacher> pageTeacher);

}
